package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Package: com.ruoyi.system.domain.vo
 * @Author: HanWL
 * @CreateTime: 2023-10-19 09:22
 * @Version: 1.0
 **/
@Data
@ApiModel(value = "门票剩余数量和时间返回类")
public class OrderMenpiaoTimeAndNumVo {

    @ApiModelProperty(value = "门票数量ID")
    private Long menpiaoNumId;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "HH:mm")
    @DateTimeFormat(pattern = "HH:mm")
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "HH:mm")
    @DateTimeFormat(pattern = "HH:mm")
    private Date endTime;


    @ApiModelProperty(value = "剩余票数")
    private Integer restNum;


    @ApiModelProperty(value = "票价")
    private BigDecimal price;

}
